package com.nothing.service;

import java.awt.image.BufferedImage;
import java.util.List;

import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.nothing.domain.UserFaceInfo;

/**
 * 
 * @author shíQíang㊚
 *
 */
public interface UserFaceInfoService extends IService<UserFaceInfo>{

    UserFaceInfo save(UserFaceInfo userFaceInfo);
    
    void saveFace(BufferedImage img,String name,Long groupId,Integer gender,Integer age)throws Exception;
    
    UserFaceInfo findByFaceId(String groupId);
    
    void deleteInBatch(List<UserFaceInfo> users);
    
    Page<UserFaceInfo> selectPage(Page<UserFaceInfo> page);
    
    Page<UserFaceInfo> selectPage(Page<UserFaceInfo> page, Wrapper<UserFaceInfo> wrapper);
}
